import request from '@/utils/request'

// 查询操作日志列表
export function listOperationLog(params) {
  return request({
    url: '/system/operation-log/list',
    method: 'get',
    params
  })
}

// 删除操作日志
export function delOperationLog(ids) {
  return request({
    url: '/system/operation-log/' + ids,
    method: 'delete'
  })
}

// 清空操作日志
export function clearOperationLog() {
  return request({
    url: '/system/operation-log',
    method: 'delete'
  })
}
